/**
 * NO-WRAP
 */
no-wrap()
  text-overflow: ellipsis
  overflow: hidden
  white-space: nowrap

/**
 * FONT
 * @param int $f font-size
 * @param int $l line-height
 * @param int $w font-weight
 * @param int $s font-style
 * @param int $b word-break、word-wrap
 */
font($f = 0, $l = 0, $w = -1, $s = -1, $b = 0)
	if $s == 0
		font-style: normal
	else if $s == 1
		font-style: italic
	if $w == 0
		font-weight: normal
	else if $w == 1
		font-weight: bold
	if $f > 0
		font-size: $f
	if $l > 0
		line-height: $l
	if $b > 0
		word-break: break-all
		word-wrap: break-word

/**
 * MODEL
 * @param mix $w width
 * @param mix $h height
 * @param mix $m margin
 * @param mix $p padding
 * @param int $f float
 * @param int $o overflow
 */
model($w = none, $h = none, $m = none, $p = none, $f = -1, $o = -1)
	if $w != none
		width: $w
	if $h != none
		height: $h
	if $p != none
		padding: $p
	if $m != none
		margin: $m
	if $o == 0
		overflow: hidden
	else if $o == 1
		overflow: visible
	else if $o == 2
		overflow-y: scroll
	else if $o == 3
		overflow-y: auto
	if $f == 0
		float: none
	else if $f == 1
		float: left
	else if $f == 2
		float: right

/**
 * POSITION
 * @param mix $t top
 * @param mix $r right
 * @param mix $b bottom
 * @param mix $l left
 * @param int $p position
 * @param int $z z-index
 */
pos($t = none, $r = none, $b = none, $l = none, $p = 1, $z = 0)
	if $p > 0
		position: absolute
	else if $p == 0
		position: fixed
	if $t != none
		top: $t
	if $r != none
		right: $r
	if $b != none
		bottom: $b
	if $l != none
		left: $l
	if $z > 0
		z-index: $z

/**
 * LINE
 * @param string $t top
 * @param string $b bottom
 */
line($t = #f9f9f9, $b = #f1f1f1)
	background: -webkit-linear-gradient(top, $t, $b)
	background: linear-gradient(to bottom, $t, $b)

/**
 * OPACITY
 * @param number $v value
 */
opacity($v = 0)
	-webkit-opacity: $v
	opacity: $v

/**
 * SHADOW
 * @param string $v value
 */
shadow($v = 0 1px 0 #ccc)
	-webkit-box-shadow: $v
	-moz-box-shadow: $v
	box-shadow: $v

/**
 * TRANSFORM
 * @param int $t transform
 * @param int $x value
 * @param int $y value
 */
// transform($t = 0, $x = 180deg, $y = 0)
// 	if $t == 0
// 		-webkit-transform: rotate($x)
// 		transform: rotate($x)
// 	else if $t == 1
// 		-webkit-transform: scale($x, $y)
// 		transform: scale($x, $y)
// 	else if $t == 2
// 		-webkit-transform: translate($x, $y)
// 		transform: translate($x, $y)
